package com.yunhe.day322.service;

import com.yunhe.day322.dao.OrderDao;
import com.yunhe.day322.domain.Orders;
import com.yunhe.day322.domain.Product;

import java.util.List;
import java.util.Map;

public interface OrderService {
    Map<String, Object> findAll(int page,int size);

    Orders findById(String id);

    public Orders findOrderById(String id);

    void save(Orders orders);

    String findByOrderNum(String orderNum);

    void deleteOrdersById(String id);

    void edit(Orders orders);
}
